<?php 
class CommonController extends Controller{
	public function __init(){
		if(!session('aid')||!session('aname')){
			go(U('Login/index'));
		}
	}
}




 ?>